has

abstract fun has(word: String): Boolean

Returns true if the dictionary contains the given word.

Parameters

word

a word to check. It must be UTF8, between 1 and 99 bytes long, and without leading or trailing ASCII whitespace

Throws

when word is empty or blank

when the engine is closed